package com.shuang.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.shuang.common.PageObject;
import com.shuang.pojo.DbReceiveInformation;
import com.shuang.service.DbReceiveInformationService;

@Controller
@RequestMapping("/info")
public class InfoHanlder {
		
		@Resource(name="dbReceiveInformationService")
		private DbReceiveInformationService dbReceiveInformationService;
		
		@RequestMapping("/getReceiveInfoList")
		@ResponseBody
		public PageObject<DbReceiveInformation> getReceiveInfoList(int page,int rows){
			return dbReceiveInformationService.getReceiveInfoList(page,rows);
		}
}
